package com.ruoyi.prod.mapper;

import com.github.pagehelper.Page;
import com.ruoyi.prod.entity.dto.ProdPurchaseDTO;
import com.ruoyi.prod.entity.po.ProdPurchase;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.prod.entity.query.ProdPurchaseCondition;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 采购管理-采购计划 Mapper 接口
 * </p>
 *
 * @author 强子初
 * @since 2023-02-17
 */
@Repository
public interface ProdPurchaseMapper extends BaseMapper<ProdPurchase> {

    /**
     * 获取采购进程
     */
    ProdPurchaseDTO getProcess(String id);

    /**
     * 列表 采购进程
     */
    List<ProdPurchaseDTO> list(ProdPurchaseCondition condition);
}
